Nearly all distributions make Firefox available through their default repositories. Some also make the beta, developer, and nightly editions available through non-default repositories. For distributions that don't provide these editions, or for distributions that make only one or some of the other editions available -- in the case of openSUSE, only the developer edition is available through the Mozilla OBS repository -- it is possible to install Firefox Beta and/or Firefox Developer Edition manually. It is even possible to create separate profiles for each edition and select the profile to use when launching any of the editions. This article will provide a guide for installing one of the editions of Firefox manually.
The AUR (Arch User Repository) provides makes binary packages of Firefox Beta and Firefox Developer Edition available, making it simple for users of Arch based distributions to install and update these release channels. Pure Arch users will have to go through an inconvenient process to be able to use the AUR.
Users of other distributions have some options for installing the non-stble release channel editions of Firefox, but these are not as good as those available to those with access to the AUR. For example, Ubuntu has two Mozilla PPAs -- Firefox and Thunderbird Daily Builds PPA and Official PPA for Firefox Beta, but unfortunately, installing from one of these PPAs will replace an existing installation of the stable release channel Firefox. And openSUSE provides a Mozilla openSUSE Build Service repository which distributes the Developer Edition and the Extended Support Release versions of Firefox.
But what if openSUSE users want Firefox Beta and Ubuntu users want Firefox Beta and Firefox Developer Edition without replacing the default installation of Firefox? The solution is to install these editions manually. The rest of this article will describe the process of installing Firefox Beta manually in an openSUSE Tumbleweed system where Firefox (stable release channel) is already installed by default by the openSUSE installer and Firefox Developer Edition is already installed from the OBS Mozilla repository.
All release channel versions of Firefox can be downloaded from Mozilla's Firefox Channels page as tar.bz2, archives.
The top level folder name in the archive will be called firefox regardless of the edition downloaded.
tar -xvjf firefox-45.0b10.tar.bz2 -C /opt/
This will create the directory /opt/firefox/ containing the installation.
mv /opt/firefox/ /opt/firefox-beta/
ln -sf /opt/firefox-beta/firefox /usr/bin/firefox-beta
--ProfileManager
option.
firefox-beta --ProfileManager
The --ProfileManager
option will open the Firefox profile manager dialog, allowing selection of existing Firefox profiles or creation of a new profile.
firefox-beta -P firefox-beta --private-window %u
[Desktop Entry]
Categories=Network;WebBrowser;GTK;
Encoding=UTF-8
Name=Firefox Beta
GenericName=Web Browser
Comment=Web Browser
TryExec=firefox-beta
Exec=firefox-beta -P firefox-beta %u
Icon=firefox-beta
Terminal=false
StartupNotify=true
MimeType=text/html;text/xml;application/xhtml+xml;application/vnd.mozilla.xul+xml;text/mml;application/x-xpinstall;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
Type=Application
Actions=PrivateBrowsing;
[Desktop Action PrivateBrowsing]
Name=New Private Browsing Window
Exec=firefox-beta -P firefox-beta --private-window %u
The above process will add Firefox Beta to the system and when launched it will use the profile specified by the -P
option in the Exec lines of the desktop file. If you want to select from the available exiting profiles instead, change the Exec line to
firefox-beta --ProfileManager firefox-beta %u
Other options can be viewed with firefox-beta --help
.
Other useful additions to the desktop file are possible in a more standard version of a desktop file for Firefox which the openSUSE packagers didn't provide. Looking at the Firefox desktop file in my Manjaro installation, there are also the entries:
[Desktop Action NewTab]
Name=Open new tab
Exec=firefox -new-tab about:newtab
[Desktop Action NewWindow]
Name=Open new window
Exec=firefox -new-window
If either of these actions are included in the desktop file, the Actions value has to be modified to include the entries, for example if both of these are added the Actions line would be:
Actions=PrivateBrowsing;NewTab;NewWindow;
You should also be sure to modify the desktop files of existing Firefox installations to launch with the profile you want for that installation, or at least modify them to launch with the profile manager. You should also be aware of the profiles.ini file which controls some profiles related behavior of Firefox. In my openSUSE Tumbleweed system it is at /home/brook/.mozilla/firefox/profiles.ini created by the first default installation of the standard Firefox. There are settings in this file that specify that any Firefox should be launched with the last used profile and that specify the default profile.
For Linux users who want to install multiple editions -- even with multiple profiles -- but use distributions that don't provide packages for the non-stable channels, it is possible to manually install the other editions. The one drawback of this method is that, if installed in /opt or any non-user directory, automatic updates are not possible; a new version must be downloaded and copied over the exiting version in the installation directory.